package me.zhengjie.modules.finace_taxation.service.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import me.zhengjie.base.CommonMapper;
import me.zhengjie.modules.finace_taxation.domain.FtLeaveMessage;
import me.zhengjie.modules.finace_taxation.service.dto.FtLeaveMessageDto;
import me.zhengjie.modules.finace_taxation.service.dto.FtLeaveMessageQueryParam;
import me.zhengjie.modules.finace_taxation.service.dto.FtServiceDto;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
* @author 杨荣森
* @date 2021-06-30
*/
@Repository
public interface FtLeaveMessageMapper extends CommonMapper<FtLeaveMessage> {

    /*查询留言咨询列表*/
    IPage<FtLeaveMessageDto> getLeaveMessages(IPage<FtLeaveMessageDto> page, Map<String,Object> map);

    /*查询预订服务列表*/
    IPage<FtLeaveMessageDto> getScheduledService(IPage<FtLeaveMessageDto> page, Map<String,Object> map);

    /*导出数据*/
    List<FtLeaveMessageDto> download(FtLeaveMessageQueryParam ftLeaveMessageQueryParam);
}
